package com.aizuda.boot.modules.business.contract.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author sangyirong
 * @ClassName ContractWorkflowListQueryDTO
 * @Version 1.0
 * @Date 2025/5/21 10:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同流程列表查询参数")
public class ContractWorkflowListQueryDTO {

    @Schema(description = "当前页数", required = true)
    @NotNull
    private Integer pageNo;

    @Schema(description = "每页数量", required = true)
    @NotNull
    private Integer pageSize;

    @Schema(description = "流程类型")
    @NotNull
    private String workflowType;

    @Schema(description = "搜索关键字")
    private String message;

    @Schema(description = "合同状态")
    private List<String> contractStatus;

    @Schema(description = "合同类型")
    private List<Integer> contractTypes;

    @Schema(description = "开始时间")
    private Date startTime;

    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "申请部门")
    private List<Long> applyDepartments;

}
